package com.guofen.service.sjq;
import com.guofen.pojo.ShljAbnormalGarbage;
import com.guofen.pojo.SjqCompostCraft;

import java.util.Map;

public interface SjqCompostCraftService {
    public boolean add(
            String rawMaterial1,
            String peat1,
            String backfillFertilizer1,
            String woodMatrix1,
            String output1,
            String tontankFeed2,
            String disposalKitchenWaste2,
            String peat2,
            String driedKitchenWaste2,
            String woodMatrix2,
            String dischargeTonBox2,
            String kitchenWasteUnderSieve2,
            String tontankFeed3,
            String disposalKitchenWaste3,
            String peat3,
            String driedKitchenWaste3,
            String woodMatrix3,
            String dischargeTonBox3,
            String kitchenWasteUnderSieve3,
            String tontankFeed4,
            String disposalKitchenWaste4,
            String peat4,
            String driedKitchenWaste4,
            String woodMatrix4,
            String dischargeTonBox4,
            String kitchenWasteUnderSieve4,
            String remark
    );

    public SjqCompostCraft getlast_day();

    public Map<String, Object> get(int pageSize, int currentPage);

    public Map<String, Object> getByTime(int pageSize, int currentPage, long startTime, long endTime);

    public int delete(int id);

    public int update(SjqCompostCraft record);

}
